home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-11-01 | 617 b | 29 lines | [TEXT/dIsR] |
- -- I run this script as a test when I am already logged in.
-
- -- It depends on "burr" being part of my prompt.
-
- script time
-
- state one
- display "This will not timeout (if burr is in your prompt)\r";
- send "\r";
- select
- "burr": display "See, I told you.\r";
- timeout 3: display "woops: I bet your prompt is different.\r";
- end;
- next two;
- end;
-
- state two
- display "This will timeout\r";
- send "\r";
- select
- "XXX": display "woops\r";
- timeout 3: display "I told you.\r";
- end;
- stop;
- display "you should not see this\r";
- end;
-
- end;
-